<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"></meta>
<title>使用Thymeleaf模板引擎渲染web视图</title>
</head>
<body>
<h1>欢迎登录!${user.username }</h1>
    <form action="/loginUser" method="post">
        <input type="text" name="username" /><br />
        <input type="password" name="password" /><br />
        <input type="submit" value="提交" />
    </form>
</body>
</html>